﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="Themtintuc.aspx.cs" Inherits="admin_Themtintuc" Title="Untitled Page" %>



<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>



<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:100%;">
        <tr>
          <td width="30%">
            <asp:Label ID="Label1" runat="server" Text="Tiêu Đề"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtTieuDe" runat="server" Width="236px"></asp:TextBox>
            (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtTieuDe" ErrorMessage="Vui lòng nhập tiêu đề!"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Mô Tả"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtMoTa" runat="server" Width="236px"></asp:TextBox>
            (*)<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtMoTa" ErrorMessage="Vui lòng nhập mô tả!"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label3" runat="server" Text="Chi Tiết"></asp:Label>
        </td>
        <td>
            <CKEditor:CKEditorControl ID="fckchitiet" runat="server"></CKEditor:CKEditorControl>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label4" runat="server" Text="Ngày Đăng"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="ddlngay" runat="server" 
                onselectedindexchanged="ddlngay_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:Label ID="Label6" runat="server" Text="/"></asp:Label>
            <asp:DropDownList ID="ddlthang" runat="server" 
                onselectedindexchanged="ddlthang_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:Label ID="Label7" runat="server" Text="/"></asp:Label>
            <asp:DropDownList ID="ddlnam" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label5" runat="server" Text="Hình Ảnh"></asp:Label>
        </td>
        <td>
            <asp:FileUpload ID="UpLoadHinhAnh" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label8" runat="server" Text="Nhân Viên"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="ddlTenNhanVien" runat="server" Width="235px">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" Text="Add" 
                Width="62px" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btCancel" runat="server" Text="Cancel" 
                onclick="btCancel_Click" />
        </td>
        </tr>
    </table>
    </form>
</asp:Content>

